﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SortOf
{
    public class RBNode<T> where T : IComparable
    {
        public String color { get; set; }
        public T data { get; set; }
        public RBNode<T> left { get; set; }
        public RBNode<T> right { get; set; }
        public RBNode<T> parent { get; set; }

        public RBNode(T data)
        {
            this.data = data;
            this.color = "RED";
        }
    }
}
